package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordInvest;
import com.intellagric.pojo.TraceRecordInvestExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordInvestMapper {
    long countByExample(TraceRecordInvestExample example);

    int deleteByExample(TraceRecordInvestExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordInvest record);

    int insertSelective(TraceRecordInvest record);

    List<TraceRecordInvest> selectByExample(TraceRecordInvestExample example);

    TraceRecordInvest selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordInvest record, @Param("example") TraceRecordInvestExample example);

    int updateByExample(@Param("record") TraceRecordInvest record, @Param("example") TraceRecordInvestExample example);

    int updateByPrimaryKeySelective(TraceRecordInvest record);

    int updateByPrimaryKey(TraceRecordInvest record);
}